package com.milo.decorator;

/**
 * @author: Milogenius
 * @create: 2019-07-19 14:49
 * @description:
 **/
public abstract class ShapeDecorator implements Shape {

    protected Shape decoratedShape;

    public ShapeDecorator(Shape decoratedShape){
        this.decoratedShape = decoratedShape;
    }

    @Override
    public void draw(){
        decoratedShape.draw();
    }
}